package com.thinkingstar.iads.datacenter.entity;

import com.thinkingstar.iads.common.entity.AbstractEntites;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.nutz.dao.entity.annotation.*;

import java.io.Serializable;
import java.util.List;

/***
 * @ClassName: dc_template_variable
 * @Description: 数据中心_模板_变量
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Comment("数据中心_模板_变量")
@Table("dc_template_variable")
public class DcTemplateVariable extends AbstractEntites implements Serializable{
	
	private static final long serialVersionUID = 1L;
	
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	
	@Comment("模板id")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 32)
	protected String template_id;
	
	@Comment("变量名")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String variable_name;
	
	@Comment("取值表名")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String variable_table_name;
	
	@Comment("取值表字段名")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String table_field_name;

	@Comment("取值条件")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String conditions;

	@Comment("文档数据类型")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 20)
	protected String word_type;

	@Comment("变量类型")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 20)
	protected String variable_type;

	@Comment("变量描述")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String description;

	@Comment("备注")
	@Column
	@ColDefine(type = ColType.VARCHAR, width = 200)
	protected String bz;

}
